Not only is this simpler, it avoids clang-tidy complaining about
warning: class * defines a non-default destructor but does not define a copy
constructor, a copy assignment operator, a move constructor or a move
assignment operator [cppcoreguidelines-special-member-functions]
Q_OBJECT
public:
FilterDialog(QWidget* parent, AllFiltersData& fd_);
- ~FilterDialog() {}
void runDialog();
}
-//------------------------------------------------------------------------
-FileDlgManager::~FileDlgManager()
- = default;
-
//------------------------------------------------------------------------
void FileDlgManager::buttonClicked()
{
QLineEdit* le,
QToolButton* tb, bool isInFile);
- ~FileDlgManager();
-
private:
QLineEdit* le;
QToolButton* tb;
}
-//------------------------------------------------------------------------
-ProcessWaitDialog::~ProcessWaitDialog()
-= default;
//------------------------------------------------------------------------
bool ProcessWaitDialog::getExitedNormally()
{
public:
//
ProcessWaitDialog(QWidget* parent, QProcess* process_);
- ~ProcessWaitDialog();
bool getExitedNormally();
int getExitCode();